package com.gpframework.module.common.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gpframework.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 潜在客户导出列表
 *
 * @author zcl
 */
@Data
@ToString
public class PotentialCustomerVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long wxUserId;

    @Excel(name = "用户名称", sort = 10)
    @ApiModelProperty("用户名称")
    private String userName;

    @Excel(name = "手机号", sort = 20)
    @ApiModelProperty("手机号")
    private String phone;

    @Excel(name = "性别", sort = 30, dictType = "gp_sex")
    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("来源")
    @Excel(name = "来源", sort = 40, dictType = "member_origin")
    private String origin;

    @Excel(name = "客户标签", sort = 50)
    private String labelNames;

    @ApiModelProperty("状态;有效、无效、冻结、删除")
    @Excel(name = "用户状态", sort = 60, dictType = "employees_status")
    private String status;

    @ApiModelProperty("跟进会籍")
    @Excel(name = "跟进会籍", sort = 70)
    private String salesmanName;

    @ApiModelProperty("录入日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "录入日期", sort = 80, width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("录入人")
    @Excel(name = "录入人", sort = 90)
    private String createBy;

    @ApiModelProperty("保护天数")
    @Excel(name = "保护天数", sort = 100)
    private Integer protectDay;

    @ApiModelProperty("跟进状态")
    @Excel(name = "跟进状态", sort = 110, dictType = "member_follow_status")
    private String followStatus;

    @ApiModelProperty("跟进次数")
    @Excel(name = "跟进次数", sort = 120)
    private Integer followNum;

    @ApiModelProperty("未跟进天数")
    @Excel(name = "未跟进天数", sort = 130)
    private Long notFollowDay = 0L;

    @ApiModelProperty("最后一次跟进明细")
    @Excel(name = "最后一次跟进明细", sort = 140)
    private String lastCommunicateContent;

    @ApiModelProperty("预计联系时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预计联系时间", sort = 150, dateFormat = "yyyy-MM-dd HH:mm:ss", width = 20)
    private Date nextContactTime;

    @ApiModelProperty("合作商")
    @Excel(name = "合作商", sort = 160)
    private String shareName;
}
